﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCoreDemo.Entity
{
    public class Post: BaseEntity
    {
        [StringLength(50), Required]
        public string Title { get; set; }

        [StringLength(500)]
        public string Description { get; set; }

        public int UserId { get; set; }
    }
}
